/**
 * IP List Panel (main panel in program)
 * @author chanju Jeon [chanju.jeon@gmail.com]
 * @version 0.1
 */

package knu.dmrl.ipamss.ui;

import java.awt.BorderLayout;
import javax.swing.JPanel;
import javax.swing.JTable;
import javax.swing.ListSelectionModel;
import javax.swing.JScrollPane;

public class IpListPanel extends JPanel {
	
	TableModel tm;
	JTable ipTable;
	
	public IpListPanel() {
		tm = new TableModel();
		ipTable = new JTable(tm);
		this.setLayout(new BorderLayout());
		ipTable.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
		JScrollPane spane = new JScrollPane(ipTable);
		this.add(spane, BorderLayout.CENTER);
	}
}
